package cn.yangliu.entity;

import cn.yangliu.base.MybatisBaseBean;
import cn.yangliu.comm.shiro.Account;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * 作者 杨柳
 * 创建时间 2017-08-26 23:22
 */
@TableName("mybatis_user")
public class MybatisUser extends MybatisBaseBean implements Account<MybatisUser>{

    private String username;

    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    @JSONField(serialize = false)
    public Serializable getSerializableId() {
        return id;
    }
}
